<template>
  <div>

  </div>
</template>

<script>

  export default {
    components: {},
    data() {
      return {};
    },
    methods: {
      fetchRedirectUrl(selectType) {
        this.$http.fetchRedirectUrl(selectType).then(resp => {
          window.location.href = resp.data;
        });
      },
    },
    created() {
      this.$toast.show('加载中...', 'loading')
    },
    mounted() {
      this.fetchRedirectUrl(this.$route.query.selectType);
    },
    beforeDestroy() {
      this.$toast.hide();
    }
  };
</script>

<style scoped>
  .login_avater {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: #E5E5E5;
    margin-right: 1rem;
  }
</style>
